package top.dancun.easbaseinfo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 
 * 
 * @author dancun
 * @email message@dancun.top
 * @date 2022-09-17 16:31:57
 */
@Data
@TableName("major")
public class MajorEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@TableId
	private Integer majorId;
	/**
	 * 专业
	 */
	private String majorName;
	/**
	 * 所属学院
	 */
	private Integer deptId;

	@TableField(exist = false)
	private DeptEntity dept;

}
